package com.familytree.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("members")
public class Member {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Date birthDate;
    private Date deathDate;
    private String gender;
    private String role;
    private String avatarUrl;
    private Date createDate;
    private Date updateDate;
} 